[
    {
        "id": "7cbc21e429e96b39",
        "type": "shelly-gen2",
        "z": "817d6b4d09c2fa93",
        "hostname": "192.168.2.59",
        "description": "Shelly PV AP-Systems",
        "mode": "polling",
        "verbose": true,
        "server": "",
        "outputmode": "event",
        "uploadretryinterval": 5000,
        "pollinginterval": 5000,
        "pollstatus": false,
        "getstatusoncommand": true,
        "devicetype": "SNPL-00112EU",
        "devicetypemustmatchexactly": false,
        "captureblutooth": false,
        "outputs": 1,
        "x": 760,
        "y": 500,
        "wires": [
            []
        ]
    },
    {
        "id": "42884f3536efce47",
        "type": "function",
        "z": "817d6b4d09c2fa93",
        "name": "Set SHelly PV AP-Systems On/OFF",
        "func": "let onoff = false;\nif (msg.payload < 0) onoff = true;\n\nmsg.payload = {\n    method : 'Switch.Set',\n    parameters : {\n        id : 0,\n        on : onoff,\n        toggle_after : 2 // optional flip back time in seconds\n    }\n}\nreturn msg",
        "outputs": 1,
        "timeout": 0,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 300,
        "y": 500,
        "wires": [
            [
                "5296ffd17351765b"
            ]
        ]
    },
    {
        "id": "6ee03c5a321d93c9",
        "type": "debug",
        "z": "817d6b4d09c2fa93",
        "name": "debug 22",
        "active": true,
        "tosidebar": true,
        "console": false,
        "tostatus": true,
        "complete": "payload",
        "targetType": "msg",
        "statusVal": "payload",
        "statusType": "auto",
        "x": 720,
        "y": 560,
        "wires": []
    },
    {
        "id": "5296ffd17351765b",
        "type": "json",
        "z": "817d6b4d09c2fa93",
        "name": "",
        "property": "payload",
        "action": "obj",
        "pretty": false,
        "x": 550,
        "y": 500,
        "wires": [
            [
                "7cbc21e429e96b39",
                "6ee03c5a321d93c9"
            ]
        ]
    },
    {
        "id": "d22710b098e133e4",
        "type": "link in",
        "z": "817d6b4d09c2fa93",
        "name": "link in 14",
        "links": [
            "b0bcebf7b7bbd4db"
        ],
        "x": 105,
        "y": 500,
        "wires": [
            [
                "42884f3536efce47"
            ]
        ]
    },
    {
        "id": "493c7d1b3576446b",
        "type": "comment",
        "z": "817d6b4d09c2fa93",
        "name": "AP-Systems > Via Shelly",
        "info": "",
        "x": 190,
        "y": 440,
        "wires": []
    },
    {
        "id": "181c786383a6aae2",
        "type": "global-config",
        "env": [],
        "modules": {
            "node-red-contrib-shelly": "11.8.0"
        }
    }
]